package com.yoga.service;

import com.yoga.entity.YogaCoach;
import com.yoga.entity.YogaPrivaterequest;

import java.util.List;

public interface CoachService {
    List<YogaPrivaterequest>findMyClass(Integer coachuid);
    List<YogaCoach> getAllCoach();
    YogaCoach getCoachById(Integer uid);
    boolean addCoach(YogaCoach coach);
    boolean updateCoach(YogaCoach coach);
    boolean deleteCoach(Integer uid);
    boolean changeClassState2Ready(Integer pqid, Integer stateCode);
//    boolean changeClassState2NoReady(Integer pqid);
    Boolean newLessonRequest(Integer uid,Integer coachuid,Integer price,Integer cpid,List<String> requesttime);

}
